<script lang="ts" setup>
import useAppStore from '@/store/app'
import { storeToRefs } from 'pinia'
import Default from '@/layout/DefaultLayout.vue'
import TwoColumn from '@/layout/TwoColumnLayout.vue';
import Classic from '@/layout/classic/index.vue'
defineOptions({
    components: {
        Default,
        TwoColumn,
        Classic
    }
})

const appStore = useAppStore()
const {layout} = storeToRefs(appStore)

</script>

<template>
    <component :is="layout.currentLayout"></component>
</template>